.class Lcom/netease/newsreader/activity/NewsReader$11;
.super Ljava/lang/Object;
.source "NewsReader.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/NewsReader;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/NewsReader;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/NewsReader;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    .line 4442
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/NewsReader$11;)Lcom/netease/newsreader/activity/NewsReader;
    .locals 1
    .parameter

    .prologue
    .line 4442
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 6
    .parameter "arg0"

    .prologue
    const/4 v5, 0x0

    .line 4446
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/util/Tools;->CheckNetwork(Landroid/content/Context;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 4447
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$26(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/LinearLayout;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 4448
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    const-string v2, "\u7f51\u7edc\u8fde\u63a5\u9519\u8bef"

    invoke-static {v1, v2, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    .line 4449
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    iget-object v1, v1, Lcom/netease/newsreader/activity/NewsReader;->menuWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v1}, Landroid/widget/PopupWindow;->dismiss()V

    .line 4501
    :goto_0
    return-void

    .line 4452
    :cond_0
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$17(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/ProgressBar;

    move-result-object v1

    invoke-virtual {v1, v5}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 4456
    :try_start_0
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$86(Lcom/netease/newsreader/activity/NewsReader;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string v2, "\\|"

    invoke-virtual {v1, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    .line 4457
    .local v0, ss:[Ljava/lang/String;
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    const/4 v2, 0x0

    aget-object v2, v0, v2

    const/4 v3, 0x1

    aget-object v3, v0, v3

    const/4 v4, 0x1

    invoke-static {v1, v2, v3, v4}, Lcom/netease/newsreader/activity/NewsReader;->access$87(Lcom/netease/newsreader/activity/NewsReader;Ljava/lang/String;Ljava/lang/String;Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 4463
    .end local v0           #ss:[Ljava/lang/String;
    :goto_1
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$101(Lcom/netease/newsreader/activity/NewsReader;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "pictures"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 4467
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$83(Lcom/netease/newsreader/activity/NewsReader;)Lcom/netease/newsreader/view/PullRefreshListView;

    move-result-object v1

    invoke-virtual {v1}, Lcom/netease/newsreader/view/PullRefreshListView;->refresh()V

    .line 4499
    :cond_1
    :goto_2
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    iget-object v1, v1, Lcom/netease/newsreader/activity/NewsReader;->menuWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v1}, Landroid/widget/PopupWindow;->dismiss()V

    .line 4500
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1, v5}, Lcom/netease/newsreader/activity/NewsReader;->access$103(Lcom/netease/newsreader/activity/NewsReader;Z)V

    goto :goto_0

    .line 4469
    :cond_2
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$101(Lcom/netease/newsreader/activity/NewsReader;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "news"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 4470
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$6(Lcom/netease/newsreader/activity/NewsReader;)Lcom/netease/newsreader/view/PullRefreshListView;

    move-result-object v1

    invoke-virtual {v1}, Lcom/netease/newsreader/view/PullRefreshListView;->refresh()V

    goto :goto_2

    .line 4472
    :cond_3
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$101(Lcom/netease/newsreader/activity/NewsReader;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "topci"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 4473
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$75(Lcom/netease/newsreader/activity/NewsReader;)Lcom/netease/newsreader/view/PullRefreshListView;

    move-result-object v1

    invoke-virtual {v1}, Lcom/netease/newsreader/view/PullRefreshListView;->refresh()V

    goto :goto_2

    .line 4475
    :cond_4
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$101(Lcom/netease/newsreader/activity/NewsReader;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "comment"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 4476
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$42(Lcom/netease/newsreader/activity/NewsReader;)Lcom/netease/newsreader/view/PullRefreshListView;

    move-result-object v1

    invoke-virtual {v1}, Lcom/netease/newsreader/view/PullRefreshListView;->refresh()V

    goto :goto_2

    .line 4478
    :cond_5
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$101(Lcom/netease/newsreader/activity/NewsReader;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "vote"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 4480
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lcom/netease/newsreader/activity/NewsReader;->access$102(Lcom/netease/newsreader/activity/NewsReader;Ljava/util/List;)V

    .line 4481
    iget-object v1, p0, Lcom/netease/newsreader/activity/NewsReader$11;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1}, Lcom/netease/newsreader/activity/NewsReader;->access$17(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/ProgressBar;

    move-result-object v1

    invoke-virtual {v1, v5}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 4485
    new-instance v1, Lcom/netease/newsreader/activity/NewsReader$11$1;

    invoke-direct {v1, p0}, Lcom/netease/newsreader/activity/NewsReader$11$1;-><init>(Lcom/netease/newsreader/activity/NewsReader$11;)V

    .line 4497
    invoke-virtual {v1}, Lcom/netease/newsreader/activity/NewsReader$11$1;->start()V

    goto :goto_2

    .line 4458
    :catch_0
    move-exception v1

    goto/16 :goto_1
.end method
